<div class="nav-tabs">
	<ul class="tabs">
		<li><a href="###" class="mailload" act="receivmail" >收 件 箱</a></li>
		<li style="background:#075DB3;"><a href="###" style="color:#EEE;" class="mailload" act="sendmail" >发 件 箱</a></li>
	</ul>
</div>
<div id="inbox">
	<div class="inbox_menu">
		<ul class="menu_buttons">
			<li><a class="selectall">全选/全不选</a></li>
			<li><a class="selectfalse">反向选则</a></li>
			<li><a class="DeleteBulk">删除所选</a></li>
		</ul>
		<div class="clear"></div>
	</div>
	<table class="msgbox" width="100%">
			<tr>
				<th width="20"></th>
				<th width="40">选择</th>              
				<th width="200">标题</th>
				<th width="300">内容</th>
				<th width="150">时间</th>
				<th width="100">操作</th>
			</tr>
		<foreach name="sendmail" item="vo">
			<tr class="noread">
				<td width="20"></td>
				<td style="text-align:center;width:40px;"><input type="checkbox" name="chuse[]" value="{$vo.Id}" /></td>              
				<td width="200"><a href="###" openwindow="Public/Mail/readmail/id/{$vo.Id}/new/false/mysend/true/iread/true" >{$vo.Title|substr=0,30}</a></td>
				<td width="300"><a href="###" openwindow="Public/Mail/readmail/id/{$vo.Id}/new/false/mysend/true/iread/true" >{$vo.Content|html_entity_decode|substr=0,30}...</a> </td>
				<td width="150">{$vo.CreateDate}</td>
				<td width="100">
					<a onclick="return confirm('确定删除？');" id="Delete_linkBtn" href="###">删除</a>
				</td>
			</tr>
		</foreach>
	</table>
</div>
<div class="yahoo2">
	<span id="ctl00_ContentPlaceHolder1_Pager1">
		<for start="1" end="$totalPages+1">
			<span href="__URL__/sendmail/page/{$i}" class='Current' act="loadtlog" style="cursor:pointer;border:1px solid #666;" >{$i}</span>
		</for>
		(第<b>{$page}</b>页/共<b>{$totalPages}</b>页)
	</span>
</div>
<script type="text/javascript">
	$(function(){
		obj=$("span[act='loadtlog']");
		obj.live("click",function(){
			$(".mailmain").html("");
			var href=$(this).attr('href');
			$('.mailmain').load(href);
		});
	});
</script>
